package cn.iocoder.yudao.module.system.controller.admin.book.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 绘本新增/修改 Request VO")
@Data
public class BookSaveReqVO {

    @Schema(description = "绘本id", requiredMode = Schema.RequiredMode.REQUIRED, example = "13476")
    private Long id;

    @Schema(description = "绘本名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "绘本名称不能为空")
    private String title;

    @Schema(description = "绘本封面图片路径", example = "https://www.iocoder.cn")
    private String coverUrl;

    @Schema(description = "绘本数据储存地址", example = "https://www.iocoder.cn")
    private String minioObjectUrl;

    @Schema(description = "绘本创建时间")
    private LocalDateTime createdAt;

}